// 
// Copyright (c) 2006-2009 Ben Motmans
// 
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// Author(s):
//    Ben Motmans <ben.motmans@gmail.com>
//

using System;

namespace Anculus.Core
{
	/// <summary>
	/// An enumeration containing all types supported by <see cref="IConfigurationSection"/>
	/// </summary>
	public enum ConfigurationObjectType
	{
		/// <summary>
		/// Unknown type
		/// </summary>
		Unknown,
		/// <summary>
		/// <see cref="System.Object"/>
		/// </summary>
		Object,
		/// <summary>
		/// Any serializable struct/class
		/// </summary>
		GenericObject,
		/// <summary>
		/// <see cref="System.Byte"/>
		/// </summary>
		Byte,
		/// <summary>
		/// <see cref="System.SByte"/>
		/// </summary>
		SByte,
		/// <summary>
		/// <see cref="System.Boolean"/>
		/// </summary>
		Bool,
		/// <summary>
		/// <see cref="System.Int16"/>
		/// </summary>
		Short,
		/// <summary>
		/// <see cref="System.Int32"/>
		/// </summary>
		Int,
		/// <summary>
		/// <see cref="System.Int64"/>
		/// </summary>
		Long,
		/// <summary>
		/// <see cref="System.UInt16"/>
		/// </summary>
		UShort,
		/// <summary>
		/// <see cref="System.UInt32"/>
		/// </summary>
		UInt,
		/// <summary>
		/// <see cref="System.UInt64"/>
		/// </summary>
		ULong,
		/// <summary>
		/// <see cref="System.Float"/>
		/// </summary>
		Float,
		/// <summary>
		/// <see cref="System.Double"/>
		/// </summary>
		Double,
		/// <summary>
		/// <see cref="System.Decimal"/>
		/// </summary>
		Decimal,
		/// <summary>
		/// <see cref="System.String"/>
		/// </summary>
		String,
		/// <summary>
		/// <see cref="System.Char"/>
		/// </summary>
		Char,
		/// <summary>
		/// <see cref="System.DateTime"/>
		/// </summary>
		DateTime,
		/// <summary>
		/// Array of primitives or serializable objects
		/// </summary>
		Array,
		/// <summary>
		/// List of primitives or serializable objects
		/// </summary>
		List,
		/// <summary>
		/// <c>null</c>
		/// </summary>
		Null
	}
}
